package com.example.mapping.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 字段映射Dto
 *
 * @author baoyoujia
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class FieldMappingDto extends BaseDto {

    /**
     * ID
     */
    private Long id;

    /**
     * 字段名
     */
    private String srcField;

    /**
     * 字段类型
     */
    private String destFieldType;

    /**
     * 表字段名
     */
    private String destField;

    /**
     * 规则ID
     */
    private List<Long> ruleIdList;

    /**
     * 字典ID
     */
    private Long dictId;

    /**
     * 0:req 1:resp
     */
    private Integer type;

    /**
     * 值映射的ID集合
     */
    private List<Long> valueMappingIdList;
}
